<?php

namespace app\common\model;

use think\Model;

class UserRelation extends Model
{
    protected $autoWriteTimestamp = true;
    protected $type = [
        'create_time'    =>  'integer',
        'update_time'     =>  'integer',
    ];
    public function relationShip(){
        return $this->belongsTo(UserRelationship::class);
    }

    public function relationMap(){
        return $this->belongsTo('RelationMap');
    }

}
